

#ifndef _SHELL_RESWORLDBOSSRANK_MESSAGE_H_
#define _SHELL_RESWORLDBOSSRANK_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include <vector>
//#include "WorldBossRankData.h"
using namespace std;

class ResWorldBossRankMessage : public Message
{
	public:
	ResWorldBossRankMessage();
	~ResWorldBossRankMessage();
	void reset();
	ResWorldBossRankMessage* clone();
	static const int _ID;
	//bossId
	int32 boosId;
	//获得buff信息
	std::string buffInfo;
	//挑战boss排行列表
	vector<WorldBossRankData*> ranklist;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
